//
//  ExploreCollectionCell.h
//  XPhoto
//
//  Created by baboy on 2019/8/28.
//  Copyright © 2019 baboy. All rights reserved.
//

#import "BKCollectionViewCell.h"
#import "Post.h"

NS_ASSUME_NONNULL_BEGIN
@protocol ExploreCollectionCellDelegate;

@interface ExploreCollectionCell : BKCollectionViewCell
@property(nonatomic, strong) IBOutlet UIButton *imageButton;
@property(nonatomic, strong) Post *post;
@property(nonatomic, assign) id<ExploreCollectionCellDelegate> delegate;
- (IBAction)clickImage:(id)sender;
@end

@protocol ExploreCollectionCellDelegate <NSObject>
@optional
- (void)exploreCollectionCellDidClickedImage:(id)cell;

@end
NS_ASSUME_NONNULL_END
